<template>
  <div class="container">
  <img mode="widthFix" class="banner-image" :src="props.backgroundUrl.value" />
  <div class="address-container">
    <img class="star" src="./images/star.png" />
    <div class="text">{{props.address.value}}</div>
    <img class="right-arrow" src="./images/right-arrow.png" />
  </div>
</div>
</template>

<script>
export default {
  props: ['props']
}
</script>

<style scoped>
.container {
  width: 100%;
  position: relative;
  height: 175px;
  overflow: hidden;
}
.banner-image {
  width: 100%;
}
.address-container {
  margin-left: 10px;
  top: 40px;
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.star {
  width: 15px;
  height: 15px;
  margin-right: 5px;
}
.text {
  font-size: 13px;
  color: #fff;
}
.right-arrow {
  margin-left: 5px;
  width: 15px;
  height: 15px;
}
</style>